package com.monise.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "CONTATO")
public class Contato implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CONTATO_SEQUENCE", sequenceName="CONTATO_SEQUENCE", initialValue=1, allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CONTATO_SEQUENCE")
	@Column(name = "pkContato")
	private Long pkContato;
	
	@Column(name = "contato")
	private String contato;
	
	@Column(name = "tipo")
	private int tipo;
	
	@Column(name = "status")
	private int status;

	public Long getPkContato() {
		return pkContato;
	}

	public void setPkContato(Long pkContato) {
		this.pkContato = pkContato;
	}

	public String getContato() {
		return contato;
	}

	public void setContato(String contato) {
		this.contato = contato;
	}

	public int getTipo() {
		return tipo;
	}

	public void setTipo(int i) {
		this.tipo = i;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	
	

}
